setOrientation

open fun setOrientation(@Nullable() orientation: Vec4)

Set the orientation of the camera represented as a unit quaternion [x, y, z, w].The default pose of the camera is such that the forward vector is looking up the -Z axis andthe up vector is aligned with north orientation of the map:forward: [0, 0, -1]up: [0, -1, 0]right [1, 0, 0]With the w value as the real part of the complex numberOrientation can be set freely but certain constraints still apply- Orientation must be representable with only pitch and bearing.- Pitch has an upper limit

Parameters

orientation

The orientation to be set.